package com.qzxy.premiumhotelsystem.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotNull;

/**
 * ClassName: RoomsDTO
 * Package: com.qzxy.premiumhotelsystem.domain.dto
 * Description:
 *
 * @Author Qwh
 * @Create 2024/9/12 21:15
 * @Version 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoomsPageDTO {


    //页码
    @Schema(description = "页码 (不填默认为第一页)",defaultValue = "1")
    private Integer pageNo = 1;

    //每页数量
    @Schema(description = "每页数量 (不填默认每页15条)",defaultValue = "15")
    private Integer pageSize = 15;

    //房间的号码
    @Schema(description = "房间号")
    private String roomNumber;

    //房间的类型
    @Schema(description = "房间类型")
    private String roomType;

    //状态
    @Schema(description = "房间状态 (空闲、已预订、已入住、维修中)")
    private String status;

    //房间描述
    @Schema(description = "房间描述 作为模糊查询")
    private String description;

    @Schema(description = "房间类型说明 作为模糊查询")
    private  String typeExplain;

    @Schema(description = "价格最小值")
    private Integer minPrice;


    @Schema(description = "价格最大值")
    private Integer maxPrice;
}
